package com.qhit.service;

import com.qhit.pojo.Permission;

import java.util.HashMap;
import java.util.List;

public interface PermissionService {
    List<Permission> getList(HashMap hashMap);

    List<Permission> getList2();
    Long getListCount(HashMap hashMap);

    int add(Permission permission);

    Permission getPermissionById(Integer id);

    int edit(Permission permission);

    int delete(Integer id);

    List<Permission> getPermissionByRoleId(int id);
}
